import random

for i in range(1,10+1,2):   #0-9
    print(i,end="\t")
    #打印100以内，能被3整除
for i in range(1,100+1):
    if i % 3==0:
         print(i,end="\t")


 num = random.randint(1,100)
    while True:
     guess = int(input("请输入一个数字"))
     if guess == num:
         print("太大了")
     elif guess < num:
         print("太小了")
     else:
         print("猜对了")
         break




# 打印菱形
for i in range(1,11+1,2):
    print(("*"*i).center(11))
for i in range(9,0,-2):
    print(("*"*i).center(11))
